<?php
session_start();
if($_SESSION['name'] == ''){
 header('location: ../');
}else{
 $name = $_SESSION['name'];
 $gender = $_SESSION['gender'];
 $auth = $_SESSION['auth'];
}
?>
<!DOCTYPE HTML>
 <html>
  <head>
   <title>ADMIN PAGE</title>
   <?php include('../resources/includes/head_content_admin.php'); ?>
  </head>
<body style="background: #fff; margin: 0px; padding: 0px;">
    <div id="admin-header">
        
    </div>
    <div id="admin-wrapper">
        <img id="admin-msrp" src="../resources/images/starita_logo_3x3.png" width="25px" class="float-left margin-right"/>
        <h3>Municipality of Santa Rita Admin Page</h3>
        <h4 id="emp-name" class="float-right">
         <span class="icon <?php echo ($gender == 'Male') ? 'user-m' : 'user-f'?>"></span>
         <?php echo $name; ?>
        </h4>
        <div id="admin-content">
            <h2>WELCOME TO ADMIN PAGE!</h2>
            <div id="logo-msrp"></div>
        </div>
    </div>
 
  
  <?php include('../resources/includes/options.php'); ?>
    
</body>
<script>
 $(document).ready(function(){
   $('#admin-msrp').click(function(){
       window.location = '';
    });
 });
</script>
</html>